//
//  InspectionGtasksTaskVC.m
//  Estate
//
//  Created by wangdongdong on 16/9/6.
//  Copyright © 2016年 ttsx. All rights reserved.
//

#import "InspectionGtasksTaskVC.h"
#import "InspectionGtasksTaskTableVC.h"
#import "DoneInspectItemViewController.h"


@interface InspectionGtasksTaskVC ()

@end

@implementation InspectionGtasksTaskVC

- (void)viewDidLoad {
    // 待办巡检任务项
    InspectionGtasksTaskTableVC *gtasksItemVC = [[InspectionGtasksTaskTableVC alloc] init];
    gtasksItemVC.IPID = self.IPID;
    // 已完成巡检任务
    DoneInspectItemViewController *doneItemVC = [[DoneInspectItemViewController alloc] init];
    doneItemVC.IPID = self.IPID;
    // 选择器数组
    self.headerSegmentArr = [[NSArray alloc]initWithObjects:@"待办巡检项",@"已完成巡检项",nil];
    // 控制器数组
    self.VCArr = [[NSArray alloc] initWithObjects:gtasksItemVC, doneItemVC, nil];
    
    [super viewDidLoad];
    self.title = @"巡检";
}


@end
